package 书店销售管理系统;
import 	redis.clients.jedis.Jedis;
public class Redisconnection {
	public static void main(String[] args) {
		Jedis jedis = new Jedis("127.0.0.1",6379);
		String result=jedis.ping();
		//jedis.set("a","张三");
		//String a=jedis.get("a");
		System.out.println(result);
		 System.out.println(jedis.info("server"));
		jedis.close();		
	}

}


